//---------------------------------------------------------------------------

#ifndef UnitMainMenuH
#define UnitMainMenuH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <Menus.hpp>
#include "Unit2.h"
#include <Buttons.hpp>
#include <Dialogs.hpp>
#include <ExtDlgs.hpp>
#include <ComCtrls.hpp>
#include <ExtCtrls.hpp>
#include <ToolWin.hpp>
#include "NxEdit.hpp"

//---------------------------------------------------------------------------
extern TFormPattern *CurrentEditForm;
class TFormMainMenu : public TForm
{
__published:	// IDE-managed Components
        TMainMenu *MainMenu1;
        TMenuItem *File1;
        TMenuItem *Windows1;
        TMenuItem *Open1;
        TMenuItem *Save1;
        TMenuItem *Exit1;
        TMenuItem *Inspector1;
        TMenuItem *New1;
        TMenuItem *Forms1;
        TMenuItem *Connection1;
        TBitBtn *BitBtnGrid;
        TButton *Button5;
        TMenuItem *NewRMLreport1;
        TOpenDialog *OpenDialogRml;
        TPageControl *PageControl1;
        TTabSheet *TabSheet1;
        TTabSheet *TabSheet2;
        TButton *Button6;
        TButton *Button7;
        TButton *Button8;
        TButton *Button9;
        TToolBar *ToolBar1;
        TSpeedButton *SpeedButton1;
        TSpeedButton *SpeedButton2;
        TSpeedButton *SpeedButton3;
        TSpeedButton *SpeedButton4;
        TSpeedButton *SpeedButton5;
    TPageControl *PageControl2;
    TTabSheet *TabSheet3;
    TPanel *Panel1;
        void __fastcall Inspector1Click(TObject *Sender);
        void __fastcall Exit1Click(TObject *Sender);
        void __fastcall New1Click(TObject *Sender);
        void __fastcall Forms1Click(TObject *Sender);
        void __fastcall ButtonCreateEdit(TObject *Sender);
        void __fastcall ButtonCreateLabel(TObject *Sender);
        void __fastcall ButtonCreateButton(TObject *Sender);
        void __fastcall ButtonCreateSplitter(TObject *Sender);
        void __fastcall Connection1Click(TObject *Sender);
        void __fastcall Open1Click(TObject *Sender);
        void __fastcall Button5Click(TObject *Sender);
        void __fastcall ButtonCreateReportHeader(TObject *Sender);
        void __fastcall ButtonCreateReportGrid(TObject *Sender);
        void __fastcall NewRMLreport1Click(TObject *Sender);
        void __fastcall Button9Click(TObject *Sender);
        void __fastcall SpeedButton1Click(TObject *Sender);
        void __fastcall SpeedButton2Click(TObject *Sender);
        void __fastcall SpeedButton3Click(TObject *Sender);
        void __fastcall SpeedButton4Click(TObject *Sender);
        void __fastcall SpeedButton5Click(TObject *Sender);
        void __fastcall ComboBoxEx1Click(TObject *Sender);
        void __fastcall ComboBoxEx1Select(TObject *Sender);
        void __fastcall ComboBoxEx1Enter(TObject *Sender);

private:	// User declarations
public:		// User declarations
        //TFormPattern * CurrentEditForm ;
        void __fastcall CreateObject(TControl *,AnsiString);
        __fastcall TFormMainMenu(TComponent* Owner);
        
};
//---------------------------------------------------------------------------
extern PACKAGE TFormMainMenu *FormMainMenu;
//---------------------------------------------------------------------------
#endif
